home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / var / lib / dpkg / info / nautilus-data.postrm < prev    next >
Encoding:
Text File  |  2009-04-23  |  999 b   |  35 lines

  1. #!/bin/sh
  2. set -e
  3. # Automatically added by dh_installmime
  4. if [ -x "`which update-mime-database 2>/dev/null`" ]; then
  5.     update-mime-database /usr/share/mime
  6. fi
  7. # End automatically added section
  8. # Automatically added by dh_gconf
  9. if which update-gconf-defaults >/dev/null 2>&1; then
  10.     update-gconf-defaults
  11. fi
  12. # End automatically added section
  13. # Automatically added by dh_gconf
  14. if [ "$1" = purge ]; then
  15.     OLD_DIR=/etc/gconf/schemas
  16.     SCHEMA_FILES="apps_nautilus_preferences.schemas "
  17.     if [ -d $OLD_DIR ]; then
  18.         for SCHEMA in $SCHEMA_FILES; do
  19.             rm -f $OLD_DIR/$SCHEMA
  20.         done
  21.         rmdir -p --ignore-fail-on-non-empty $OLD_DIR
  22.     fi
  23. fi
  24. # End automatically added section
  25. # Automatically added by dh_icons
  26. if which update-icon-caches >/dev/null 2>&1 ; then
  27.     update-icon-caches /usr/share/icons/hicolor
  28. fi
  29. # End automatically added section
  30. # Automatically added by dh_installmime
  31. if [ -x "`which update-mime-database 2>/dev/null`" ]; then
  32.     update-mime-database /usr/share/mime
  33. fi
  34. # End automatically added section
  35.